home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / modprobe.d / alsa-base < prev    next >
Text File  |  2008-09-15  |  2KB  |  43 lines

  1. # autoloader aliases
  2. install sound-slot-0 /sbin/modprobe snd-card-0
  3. install sound-slot-1 /sbin/modprobe snd-card-1
  4. install sound-slot-2 /sbin/modprobe snd-card-2
  5. install sound-slot-3 /sbin/modprobe snd-card-3
  6. install sound-slot-4 /sbin/modprobe snd-card-4
  7. install sound-slot-5 /sbin/modprobe snd-card-5
  8. install sound-slot-6 /sbin/modprobe snd-card-6
  9. install sound-slot-7 /sbin/modprobe snd-card-7
  10.  
  11. # Cause optional modules to be loaded above generic modules
  12. install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; : ; }
  13. install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe -Qb snd-seq ; }
  14. install snd-pcm /sbin/modprobe --ignore-install snd-pcm && { /sbin/modprobe --quiet snd-pcm-oss ; : ; }
  15. install snd-mixer /sbin/modprobe --ignore-install snd-mixer && { /sbin/modprobe --quiet snd-mixer-oss ; : ; }
  16. install snd-seq /sbin/modprobe --ignore-install snd-seq && { /sbin/modprobe --quiet snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; }
  17. install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
  18. # Cause optional modules to be loaded above sound card driver modules
  19. install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-emu10k1-synth ; }
  20. install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }
  21.  
  22. # Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
  23. install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe -Qb saa7134-alsa ; : ; }
  24.  
  25. # Load snd-seq for devices that don't have hardware midi;
  26. #   Ubuntu #26283, #43682, #56005; works around Ubuntu #34831 for
  27. #   non-Creative Labs PCI hardware
  28. install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe -Qb snd-seq ; }
  29. # Prevent abnormal drivers from grabbing index 0
  30. options bt87x index=-2
  31. options cx88_alsa index=-2
  32. options saa7134-alsa index=-2
  33. options snd-atiixp-modem index=-2
  34. options snd-intel8x0m index=-2
  35. options snd-via82xx-modem index=-2
  36. options snd-usb-audio index=-2
  37. options snd-usb-usx2y index=-2
  38. options snd-usb-caiaq index=-2
  39. # Ubuntu #62691, enable MPU for snd-cmipci
  40. options snd-cmipci mpu_port=0x330 fm_port=0x388
  41. # Keep snd-pcsp from beeing loaded as first soundcard
  42. options snd-pcsp index=-2
  43.